package com.crm.service;

import com.crm.entity.CrmMenu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.crm.entity.CrmUser;
import com.crm.vo.MySecurityUser;
import com.crm.vo.SysMenu;
import org.springframework.security.core.Authentication;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author junxian,dou
 * @since 2024-11-28
 */
public interface ICrmMenuService extends IService<CrmMenu> {

    List<SysMenu> getListToNodeTree(CrmUser authentication);

    List<SysMenu> getListToNodeTree();

    void saveMenu(SysMenu sysMenu);

    SysMenu getMenuById(Long id);

    void deleteById(Long id);

    List<String> selectIconList();

}
